﻿' LibWowAPI
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Namespace roncliProductions.LibWowAPI.Data.GuildRewards

    ''' <summary>
    ''' A class containing information about a guild achievement required for a guild reward.
    ''' </summary>
    ''' <remarks></remarks>
    Public Class Achievement

        ''' <summary>
        ''' The ID number of the guild achievement.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property ID As Integer

        ''' <summary>
        ''' The title of the guild achievement.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Title As String

        ''' <summary>
        ''' The number of guild achievement points earned by completing this guild achievement.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Points As Integer

        ''' <summary>
        ''' The description of the guild achievement.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Description As String

        ''' <summary>
        ''' The reward offered by the guild achievement.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Property Reward As String

        ''' <summary>
        ''' The guild reward item offered by the guild achievement.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks>This does not appear to be accurate for faction-specific guild rewards.  Use the guild reward's Item property instead.</remarks>
        Public Property RewardItem As Item

        Protected Friend Sub New(intID As Integer, strTitle As String, intPoints As Integer, strDescription As String, strReward As String, iRewardItem As Item)
            ID = intID
            Title = strTitle
            Points = intPoints
            Description = strDescription
            Reward = strReward
            iRewardItem = iRewardItem
        End Sub

    End Class

End Namespace
